home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00a.txt / 000103_icon-group-sender _Wed May 17 07:44:01 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  4KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id HAA00845
  4.     for icon-group-addresses; Wed, 17 May 2000 07:43:27 -0700 (MST)
  5. Message-Id: <200005171443.HAA00845@baskerville.CS.Arizona.EDU>
  6. From: "Ian Trudel" <ian.trudel@tr.cgocable.ca>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Re: Is Anyone Working On A Unicode Version Of Icon?
  9. X-Priority: 3
  10. X-MSMail-Priority: Normal
  11. X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
  12. X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
  13. Date: Wed, 17 May 2000 13:52:48 GMT
  14. X-Complaints-To: abuse@cgocable.ca
  15. X-Trace: carnaval.risq.qc.ca 958571568 24.226.208.172 (Wed, 17 May 2000 09:52:48 EDT)
  16. To: icon-group@optima.CS.Arizona.EDU
  17. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  18. Status: RO
  19.  
  20. 1/ I ain't no C++ support, fellow, fan, or not even like the language. Let's
  21. not talk about it. ::)
  22. 2/ The point of my original post is not really Icon reimplementation, but
  23. adding a new feature to the language.
  24. 3/ I feel your post "hide" something, like transforming Icon to some OOP
  25. language. If we change Icon's nature, we're no longer having Icon. It'd be
  26. better to support Idol instead, in that concern.
  27. 4/ My point about platform availability was about backward compatibility. I
  28. know that nowaday's machines and system have C++ compilers available, but
  29. Icon also runs on older machines/systems.
  30. 5/ and finaly, speed issue only speaks by benchmarking.
  31.  
  32. > My main concern with the icon-to-C  compiler was size and speed: it's not
  33. > reasonable to use over a 3000 lines project which translate to >90000
  34. lines
  35. > of C, which then proceeds to exceed 80MB of memory to compile...
  36.  
  37. Actually, we should not forget one thing about Icon. Even though Icon looks
  38. to my eye pretty young, fresh and complete, the fact is the first
  39. implementation was made in 1979! I'm not sure when the C implemention has
  40. started, but it's sure old. Most concepts of Icon implementation just rocks,
  41. but it doesn't mean these are using the newer and better techniques.
  42.  
  43. > At a guess, the corresponding translation to C++ would be 10 times
  44. smaller,
  45. > and much more easy to tweak. But then, this means having someone with free
  46. > time on their hands, and knowing C++...
  47.  
  48. Well, I agree on this. But good C code can be just similar. A *small*
  49. reminder: C is a simple language, even though pointer arithmetics may drive
  50. some crazy, it has few keywords and structures. C++ is a complex language,
  51. it has full C compatibility, plus it has its own good and bad things. There
  52. is a *lot* of concepts in C++ and avanced one are even not usually convered
  53. by popular books.
  54.  
  55. There is many things that was not even concerned in the seventies and
  56. eighties, such as resuability, portability, information hidding and stuff.
  57. So, the techniques have lot changed and there is more and more valuable
  58. documents on the newer way of implementing old concepts (nowaday's GC
  59. implementations are just crazy, it almost worth any custom made memory
  60. management. There is just almost no reason to not use GC now ::).
  61.  
  62. You should also dig into Squeak's Virtual Machine source code. You'd
  63. probably be impressed how clean/clear their C implementation is made. Don't
  64. forget it's generated C code, for most parts. I guess they found no reason
  65. to implement it in C++. Squeak is much more portable than Icon, it runs on
  66. everything gcc do (and runs virtually the same on every platform!), the only
  67. exception is the need of bitblt functionalities.
  68.  
  69. Anyway, I still recall my primary concern was/is about dynamic primitive
  70. data types in Icon. Wouldn't it be nice if..
  71.  
  72. Cheer, ::)
  73. --
  74. Ian Trudel, aka BackOrder
  75. StarTrip Server Administrator
  76. http://startrip.gene6.com/
  77.  
  78.  
  79.